<ul id="tabListFunction">
        <li><a href="javascript:void(0);" onclick="setValue('{$formId}', 'plus', 'cleanTrash');action('{$formId}', 'list');" title="{l s='clean_trash'}">{l s='clean_trash'}</a> </li>
    {if $act eq 'add'}
        <li><a href="javascript:void(0);" onclick="action('{$formId}', 'list');" title="{l s='list'}">{l s='list'}</a> </li>
        <li><a href="javascript:void(0);" onclick="action('{$formId}', 'reset');" title="{l s='reset'}">{l s='reset'}</a> </li>
        <li><a href="javascript:void(0);" onclick="action('{$formId}', 'add');" title="{l s='save'}">{l s='save'}</a> </li>
    {elseif $act eq 'list'}
        <li><a href="javascript:void(0);" onclick="setValue('{$formId}', 'plus', 'deleteItems');action('{$formId}', 'list');" title="{l s='delete'}">{l s='delete'}</a> </li>
        <li><a href="javascript:void(0);" onclick="setValue('{$formId}', 'plus', 'disableItems');action('{$formId}', 'list');" title="{l s='disable'}">{l s='disable'}</a> </li>
        <li><a href="javascript:void(0);" onclick="setValue('{$formId}', 'plus', 'activateItems');action('{$formId}', 'list');" title="{l s='activate'}">{l s='activate'}</a>
        <li><a href="javascript:void(0);" onclick="action('{$formId}', 'add');" title="{l s='add'}">{l s='add'}</a> </li>
    {/if}
</ul>